.home {
  $f: 19.2;

  .banner {
    position: relative;
    &::before{
      content:'';
      display: block;
      position: absolute;
      left: 0;
      top:0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .2);
    }
    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 33vh;
    }
    .text{
      position: absolute;
      left: 0;
      width: 100%;
      bottom:30/$f+vw;
      color:white;
      padding: 0 200/$f+vw;
      .p1{
        font-size: 30/$f+vw;
        font-weight: 600;
        line-height: 1;
      }
      .des{
        font-size: 20/$f+vw;
        margin-top: 20/$f+vw;
        line-height: 1.3;
        font-weight: 200;
      }
    }
  }

  .nav_menu {
    background: #F5F5F5;
    padding: 0 200/$f+vw;
    display: flex;
    align-items: center;

    a {
      display: block;
      padding: 20/$f+vw 44/$f+vw;
      color: #222;
      font-size: 17/$f+vw;
      line-height: 1.2;
      transition: all 600ms;
      cursor: pointer;
      &:hover{
        background: #FFF;
        color:#E6001A;
      }
    }
    .on{
      background: #FFF;
      color:#E6001A;
    }

    span {
      width: 1px;
      height: 10/$f+vw;
      background: #CCC;
    }
  }

  .section1{
    margin: 55/$f+vw 200/$f+vw;
    .types{
      display: flex;
      justify-content: center;
      .item{
        border: 1px solid #B5B4B2;
        color:rgba(0, 0, 0, 0.7);
        font-size: 20/$f+vw;
        padding: 18/$f+vw 93/$f+vw;
        cursor: pointer;
        transition: all 600ms;
      }
      .on{
        background: #FB0000;
        border-color:#FB0000 ;
        color:white;
      }
    }
  }

  .section2{
    margin: 61/$f+vw 0 184/$f+vw 200/$f+vw;
    .t{
      color: #000;
      font-size: 32/$f+vw;
    }
    .wrap{
      display: flex;
      justify-content: space-between;
      margin-top: 163/$f+vw;
      align-items: center;
      .l{
        width: 270/$f+vw;
        text-align: center;
        margin-left: 100/$f+vw;
        .p1{
          color: #000;
          font-size: 42/$f+vw;
          line-height: 0.9;
        }
        .p2{
          color: #000;
          opacity: .6;
          font-size: 42/$f+vw;
          font-weight: 700;
          margin-top: 44/$f+vw;
          text-transform: uppercase;
        }
        .des{
          color: #666;
          font-size: 24/$f+vw;
          margin-top: 16/$f+vw;
          line-height: 1.8;
          text-align: left;
          padding-left: 55/$f+vw;
        }
      }
      .r{
        width: calc(100% - 28vw);
        overflow: hidden;
        .animate_box {
          display: flex;
          width: max-content;
          animation: ani-loop 20s linear infinite;

          &:hover{
            animation-play-state: paused;
          }
          .flex-xb {
            display: flex;
            flex-wrap: wrap;
            .pics{
              .pic{
                width:200/$f+vw;
                margin: 0 10/$f+vw;
                display: flex;
                align-items: center;
                justify-content: center;
                background: #FFF;
                img{
                  max-width: 100%;
                  display: block;
                  object-fit: contain;
                  // min-height: 100%;
                }
                &:not(:last-child){
                  margin-bottom: 20/$f+vw;
                }
              }
            }
  
          }
  
          @keyframes ani-loop {
            0% {
              transform: translateX(0);
            }
  
            100% {
              transform: translateX(-50%);
            }
          }
        }
      }
    }
  }

  .section3{
    margin: 61/$f+vw 267/$f+vw 184/$f+vw 200/$f+vw;
    .t{
      color: #000;
      font-size: 32/$f+vw;
    }
    .wrap{
      display: flex;
      justify-content: space-between;
      flex-direction: row-reverse;
      margin-top: 163/$f+vw;
      align-items: center;
      .l{
        width: 359/$f+vw;
        text-align: center;
        .p1{
          color: #000;
          font-size: 42/$f+vw;
          line-height: 0.9;
        }
        .p2{
          color: #000;
          opacity: .6;
          font-size: 42/$f+vw;
          font-weight: 700;
          margin-top: 85/$f+vw;
          text-transform: uppercase;
        }
      }
      .r{
        width: calc(100% - 40vw);
        margin-left: 160/$f+vw;
        .swiper2{
          width: 100%;
          .pic{
            img{
              width: 100%;
              display: block;
              object-fit: cover;
            }
          }
        }
      }
    }
    .des{
      margin-top: 168/$f+vw;
      color: #666;
      font-size: 16/$f+vw;
      line-height: 1.62;
    }
  }

  .section4{
    margin: 257/$f+vw 270/$f+vw 184/$f+vw 200/$f+vw;
    .t{
      color: #000;
      font-size: 32/$f+vw;
    }
    .wrap{
      display: flex;
      justify-content: space-between;
      margin-top: 163/$f+vw;
      align-items: center;
      position: relative;
      .l{
        width: 359/$f+vw;
        text-align: center;
        .p1{
          color: #000;
          font-size: 42/$f+vw;
          line-height: 0.9;
        }
        .p2{
          color: #000;
          opacity: .6;
          font-size: 42/$f+vw;
          font-weight: 700;
          margin-top: 85/$f+vw;
          text-transform: uppercase;
        }
      }
      .r{
        .pic{
          position: absolute;
          right:404/$f+vw;
          top:-153/$f+vw;
          img{
            width: 515/$f+vw;
            display: block;
          }
        }
        .pic2{
          position: relative;
          z-index: 1;
          img{
            width: 515/$f+vw;
            display: block;
          }
        }
      }
    }
    .des{
      margin-top: 79/$f+vw;
      color: #666;
      font-size: 16/$f+vw;
      line-height: 1.62;
    }
  }

  @media screen and (max-width: 1024px){
    .banner{
      img{
        height: 300px;
      }
    }
    .nav_menu{
      padding: 0;
      a{
        padding: 15px 10px;
        font-size: 14px;
      }
      span{
        height: 10px;
      }
    }
     .section1{
      margin: 30px 5%;
      .types{
        .item{
          padding: 12px 40px;
          font-size: 16px;
        }
      }
     }
     .section2{
      margin: 30px 0 60px 5%;
      .t{
        font-size: 24px;
      }
      .wrap{
        margin-top: 30px;
        .l{
          margin-left: 0;
          width: fit-content;
          .p1{
            font-size: 20px;
          }
          .p2{
            font-size: 20px;
          }
          .des{
            font-size: 14px;
            margin: 10px 0 30px 0;
            padding-left: 0;
            text-align: center;
          }
        }
        .r{
          width: 60%;
          .scroll-container {
            .animate_box {
              padding: 20px 0;
              animation-play-state: running;
              .flex-xb {
    
                .pics {
                  .pic{
                    width:120px;
                  margin-left: 10px;
                  }
                }
              }
            }
          }
        }
      }
     }
     .section3{
      margin: 30px  5%;
      .t{
        font-size: 24px;
      }
      .wrap{
        margin-top: 30px;
        .l{
          margin-left: 0;
          width: fit-content;
          .p1{
            font-size: 20px;
          }
          .p2{
            font-size: 20px;
          }
        }
        .r{
          width: 50%;
          margin-left: 0;
        }
      }
      .des{
        font-size: 16px;
        margin-top: 30px;
      }
     }
     .section4{
      margin: 30px 5%;
      .wrap{
        margin-top: 30px;
        .l{
          margin-left: 0;
          width: fit-content;
          .p1{
            font-size: 20px;
          }
          .p2{
            font-size: 20px;
          }
        }
        .r{
          .pic{
            position: static;
            margin-bottom: 10px;
            img{
              width: 200px;
            }
          }
          .pic2{
            img{
              width: 200px;
            }
          }
        }
      }
      .des{
        font-size: 16px;
        margin-top: 30px;
      }
     }
  }

}